package com.kz.demo;

import com.kz.framework.annotation.MyService;

import java.util.ArrayList;
import java.util.List;

/**
 * @author zhgp
 * @version 1.0
 * @description: TODO
 * @date 2021/6/20 12:11
 */

@MyService
public class TestServiceImp implements TestService {

    @TestAop
    public List<User> getAllUser() {
        List<User> userList = new ArrayList();
        userList.add(new User(1, "dddd", 22));
        userList.add(new User(2, "dd", 12));
        userList.add(new User(3, "aaaa", 5895));
        System.out.println("执行目标方法...........");
        return userList;
    }
}
